package components.core
{
	import flash.events.IEventDispatcher;

    /**
     *具有滚动功能的组件
     * @author zn
     *
     */
    public interface IViewport extends IEventDispatcher
    {
        function get contentWidth():Number;
        function get contentHeight():Number;

        function get horizontalScrollPosition():Number;
        function set horizontalScrollPosition(value:Number):void;

        function get verticalScrollPosition():Number;
        function set verticalScrollPosition(value:Number):void;

        function get maxHorizontalScrollPosition():Number;
        function get maxVerticalScrollPosition():Number;
		
		function get maxWidth():Number;
		function get maxHeight():Number;
    }
}